package org.jeecg.modules.zcgl.vo.statistical;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;

/**
 * @author 尹涛 * @version V1.0.0
 * @projectName kangxiang-parent
 * @title BillReceivablesDetailsVo
 * @package org.jeecg.modules.zcgl.vo.statistical
 * @description 账单收款明细
 * @date 2021/6/17
 */
@Data
public class BillReceivablesDetailsVo {

    @Excel(name = "账单编码", width = 15)
    @ApiModelProperty(value = "账单编码")
    private String payablesNo;

    @Excel(name = "合同信息", width = 15, dictTable = "zcgl_lease_contract_info", dicText = "contract_num", dicCode = "id")
    @Dict(dictTable = "zcgl_lease_contract_info", dicText = "contract_num", dicCode = "id")
    @ApiModelProperty(value = "合同信息")
    private String leaseContractId;

    @Excel(name = "资产信息", width = 15, dictTable = "zcgl_asset_info", dicText = "asset_name", dicCode = "id", pullDown = false)
    @Dict(dictTable = "zcgl_asset_info", dicText = "asset_name", dicCode = "id")
    @ApiModelProperty(value = "资产信息")
    private String assetId;

    @Excel(name = "客户信息", width = 15, dictTable = "zcgl_customer_info", dicText = "CONCAT_WS( ';', `name`, phone )", dicCode = "id", pullDown = false)
    @Dict(dictTable = "zcgl_customer_info", dicText = "CONCAT_WS( ' ', `name`, phone )", dicCode = "id")
    @ApiModelProperty(value = "客户信息")
    private String customerId;

    @Excel(name = "客户电话", width = 15)
    @ApiModelProperty(value = "客户电话")
    private String phone;

    @Excel(name = "客户身份证", width = 15)
    @ApiModelProperty(value = "客户身份证")
    private String code;

    @Excel(name = "出租方", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "出租方")
    private String rentCompanyId;

    @Excel(name = "管理单位", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "管理单位")
    private String companyId;

    @Excel(name = "账单金额", width = 15)
    @ApiModelProperty(value = "账单金额")
    private BigDecimal amountMoney;

    @Excel(name = "已缴金额", width = 15)
    @ApiModelProperty(value = "已缴金额")
    private BigDecimal paidAmountMoney;

    @Excel(name = "支付方式", width = 15, dicCode = "pay_type")
    @Dict(dicCode = "pay_type")
    @ApiModelProperty(value = "支付方式")
    private Integer payType;

    @Excel(name = "付款单号", width = 15)
    @ApiModelProperty(value = "付款单号")
    private String paymentSlipNumber;

    @Excel(name = "未收款金额", width = 15)
    @ApiModelProperty(value = "未收款金额")
    private BigDecimal unAmountMoney;

    //查询参数
    private String selections;

    private String contractNum;
}
